const mysql = require( 'mysql' );

module.exports ={
    db:function(){
        var db = mysql.createPool({
            host:'localhost',
            user:'root',
            password:'root',
            database:'ws'
        });
        return db;
    }
};
